Important****If you have used a previous version you need to remove all medialaunch entry's in skin.ini**
MediaLaunch does't use skin.ini anymore.


What it does:
When a drive is added to windows or becomes available that is listed in the ini, MediaLaunch checks it for content and executes the command set-up in the ini.  Optionally it can load the medialaunch.skin when media becomes available.  When playing audio, the previous playlist is optionally saved--then returns to that playlist when the audio media is removed. Duplicate MediaLaunch scripts won't run at the same time, the script watches RoadRunner.exe and stops when RoadRunner exits.  A sample skin is included (built for the SHOCK skin) JohnWPB's code was the starting point...thanks John.  Also thanks to El Camino and LS.  The script communicates the following to RR about each drive:

MEDIA1= drive letter with slash, only exists when that drive has something in it (D:\)
MEDIALETTER1 = Always contains the Drive letter (D:)
CMDMEDIA1= Command to play that media
LABELMEDIA1= Name of media Audio/video/dvd/blank/unknown
EJECT1= Command to eject that media
MEDIAIN1= Equals 0 when media 1 is empty and equals 1 when media 1 has something in it
DRIVEEXIST1= Equals 0 when media1 has no drive, equals 1 when a drive exists

Indicators:
CUSTOM_AUDIOIN
CUSTOM_VIDEOIN
CUSTOM_DVDIN

To Install:
Extract the zip to C:\Program Files\Road Runner\MediaLaunch
The skin folder contains an example media launch skin and an example indicator menu skin.

Add something like this to exectbl.ini 
"MEDIALAUNCH","Run;C:\Program Files\Road Runner\MediaLaunch\MediaLaunch.exe"
Then in rr.ini or better yet in the new RR Config by Blue ZX3 add MEDIALAUNCH to the Start Commands.


Edit MediaLaunch.ini
Example contents:

[Media Drive Settings]
Drive=D:\,H:\			**drive letters you want MediaLaunch to monitor**
DVDCOMMAND=DVD  		**command given to rr if a dvd is found**
CDCOMMAND=AUDIO  		**command give to rr if audio is found**
VIDEOCOMMAND=VIDEO		**command given to rr if video or videos are found**
MIXEDCOMMAND=	  		**command given to rr if a mixed audio/video is found**
BLANKCOMMAND=       		**command given to rr if a blank media is found**
UNKNOWNCOMMAND=     		**command given to rr if the media isn't blank and supported files aren't found**
ENABLEMIXEDMEDIA=FALSE  	**enables the use of mixed video/audio media, if false mixed media is ignored**
ENABLEBLANKMEDIA=FALSE  	**enables the use of blank media, if false blank media is ignored**
ENABLEUNKNOWNMEDIA=FALSE  	**enables the use of unknown media, if false unknown media is ignored**
ENABLEQUICKSEARCH=TRUE		**searches root first, then folders, may not be as accurate with mixed media**
ENABLELABELEDMEDIA=TRUE		**Will not search the drive if audio.txt, video.txt, mixed.txt, unknown.txt 
				exist.  The media type will be set by the file it finds (audio.txt = audio)
				this is just an option and useful if you don't want the script to search the
				media's folders structure for content.
LOADMEDIALAUNCHSKIN=TRUE	**when true the medialaunch.skin skin is loaded, then click the drive letter
				to play the media or exit.
RELOADPLAYLIST=FALSE		**return to previous playlist when playing audio when media is ejected
AUTOPLAYMEDIA=FALSE		**play media automatically when inserted
SLEEPSECONDS=2  		**increase seconds slow down the script for slower computers**
PROCESSPRIORITYLOW=FALSE  	**lowers the priority of MediaLaunch.exe**
ONRRSTART=FALSE                 **FALSe disables autoplaymedia and loadmedialaunch skin the FIRST time the script 
				scans media.  If you shutdown rr (don't hibernate) this is nice when rr starts
				back up and the script starts it won't autoplay any of the media attached. 
				They will be listed in the medialaunch skin like normal.
CREATELABELS=FALSE		**When TRUE writes a lable to removable media(no effect on CDROMS :).  If it 
				detects audio media it writes AUDIO.TXT to the root of the media.  Next
				time that media is put in, the script won't do an search to find content if
				ENABLELABELEDMEDIA is TRUE...it knows that it contains audio.  If it's marked 
				wrong or you change the contents just delete the file.   
ENABLERELOADBUTTON=TRUE		**This will enable the usage of a 'reload old playlist' button that will reload
				a previously used playlist.  This works independantly of the "reloadplaylist"
				option above--it can used with/without enabling "reloadplaylist"  The button 
				command is "SETVAR;RELOADOLDPL;TRUE"